<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title><?php echo ($title); ?></title>
    <link rel="stylesheet" type="text/css" href="/Public/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="/Public/css/style.css" />
    <link rel="stylesheet" type="text/css" href="/Public/css/bootstrap.min.css" />
</head>
<body>
<div id="nav">
    <div class="container">
        <div class="row">
            <div class="col-lg-12" style="background-color: #ff2d4b;">
                <div class="col-lg-2" style="padding-left: 0px;">
                    <img src="/Public/images/LOGO2.png" class="img-responsive"/>
                </div>
                <div class="col-lg-8">

                </div>
                <div class="col-lg-2" style="font-size: 16px; font-family: '黑体'; text-align: center; line-height: 55px;">
                    <?php if($_COOKIE['username']): ?><a style="color: #F3F3F3;" href="<?php echo U('/detail');?>" title="当前用户:<?php echo ($_COOKIE['username']); ?>"><?php echo ($_COOKIE['ShortName']); ?></a>
                        |
                        <a style="color: #F3F3F3;" href="<?php echo U('/quit');?>" title="退出">退出</a>
                    <?php else: ?>
                        <a style="color: #F3F3F3;" href="<?php echo U('/login');?>">登录</a>
                        |
                        <a style="color: #F3F3F3;"  href="<?php echo U('/mstreg');?>">注册</a><?php endif; ?>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>